无法找到视图文件,页面模板:cms/tags.php

67.              $controllerLayout str_replace(File_TXT,'.html',$controllerLayout);
68.              if (file_exists($controllerLayout)) {
69.                  $this->template($controllerLayout);
70.              }else{
71.                  $f strpos($name,File_TXT)!==false $name $name.File_TXT;
72.                  Error_msg('无法找到视图文件,页面模板:'.$f);
73.              }
74.            
75.          }
76.          
77.          
62.      }
63. 
64.      // 渲染视图
65.      public function display($name=null)
66.      {
67.          $this->_view->render($name);
68.      }
69.      
70.      // 获取URL参数值
71.      public function frparam($str=null$int=0,$default FALSE$method null){
72.          
101.              $this->listpage $page->listpage;//分页数组-自定义分页可用
102.              $this->prevpage $page->prevpage;//上一页
103.              $this->nextpage $page->nextpage;//下一页
104.              $this->allpage $page->allpage;//总页数
105.              
106.              $this->display($this->template.'/tags');
107.          }
108.          
109.          
110.      }
111.      
326.                  }
327.              
328.              }
329.          }
330.          $dispatch = new $controller($param);
331.          $dispatch->$actionName($param);
332.         
333.          
334.          
335.          
336.      }
89.          spl_autoload_register(array($this'loadClass'));
90.          $this->setDbConfig();
91.          $this->setReporting();
92.          $this->removeMagicQuotes();
93.          //$this->unregisterGlobals();
94.          $this->route();
95.          
96.      }
97. 
98.      // 路由处理
99.      public function route()
456. 
457.  // 加载配置文件
458.  $config = require(APP_PATH 'conf/config.php');
459. 
460.  //实例化核心类
461.  (new frphp($config))->run();
54.  // define('APP_LANG','zh_cn');
55.  //默认当前语言,英文
56.  // define('APP_LANG','en');
57. 
58.  // 加载框架文件
59.  require(APP_PATH 'frphp/fr.php');
60. 
61.  // 就这么简单~
62.